package com.fkdx.webman.controller;

import com.fkdx.webman.service.CardNumService;
import com.fkdx.webman.vo.ParamVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;


/**
 * 提卡控制类
 *
 * @author : yl
 * @date : 2024-11-25
 */
@RestController
@RequestMapping("/cardNum")
public class CardNumController {
    @Autowired
    private CardNumService cardNumService;

    @PostMapping(value = "/getCardNum")
    public String login(@Validated @RequestBody ParamVO paramVO) {
        cardNumService.getCardNum(paramVO.getUrl(), paramVO.getCount(),1L, 1, 0);
        return "操作成功";
    }
}
